package com.shop.bean;

import java.sql.Timestamp;

public class Affiche {
    private Integer id;
    private String name;
    private String content;
    private Timestamp issueTime;

    @Override
    public String toString() {
        return "Affiche{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", content='" + content + '\'' +
                ", issueTime=" + issueTime +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Timestamp getIssueTime() {
        return issueTime;
    }

    public void setIssueTime(Timestamp issueTime) {
        this.issueTime = issueTime;
    }

    public Affiche() {
    }

    public Affiche(Integer id, String name, String content, Timestamp issueTime) {
        this.id = id;
        this.name = name;
        this.content = content;
        this.issueTime = issueTime;
    }
}
